<?php

class Damages_Methods_Data_Attachment {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $filePath;

  /**
   *
   * @var string 
   */
  public $created;

  /**
   *
   * @var string 
   */
  public $modified;

  public function __construct(DamagesAttachments $data) {
    $this->id = $data->getId();
    $this->name = $data->getName();
    $this->filePath = $data->getFilePath();
    $this->created = $data->getCreated();
    $this->modified = $data->getModified();
  }

}